﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers {
    import net.wooga.pets.events.*;
    import net.wooga.pets.models.*;
    import org.robotlegs.mvcs.*;

    public class AddTickingCommand extends Command {

		[Inject]
        public var event:TickingEvent;
		[Inject]
        public var tickModel:TickModel;

        override public function execute():void{
            this.tickModel.registerTicking(this.event.ticking, this.event.tickInterval, this.event.immediateTick);
        }

    }
}//package net.wooga.pets.controllers 
